package kr.or.kead;

import java.util.ArrayList;

import javax.swing.JOptionPane;

import kr.or.kead.domain.Auth;
import kr.or.kead.domain.Depart;
import kr.or.kead.domain.InfoStudent;
import kr.or.kead.service.DaoInfoStudent;
import kr.or.kead.service.Daodepart;
import kr.or.kead.ui.Login;
import kr.or.kead.ui.MainFrame;
import kr.or.kead.utils.CreateInsertPostAddr;

public class TestMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		new Login();
		//new MainFrame();
		//Daodepart ddep = new Daodepart();
		/*int res =ddep.insertDao(new Depart(800, "실무", 0, "053-888-8888"));
		isCheck(res);
		
		res=ddep.deleteDao(800);
		isCheck(res);
		
		ArrayList<Object> deps = ddep.selectDao();
		for(Object obj: deps)System.out.println(obj);
		
		Depart dep = (Depart)ddep.selectTableById(200);
		System.out.println(dep);*/
		//int ress = ddep.selectCodeDepartByName("정보");
		//System.out.println(ress);
		//ress = ddep.MaxCode();
		//System.out.println(ress);
	}
/*
	private static void isCheck(int res) {
		// TODO Auto-generated method stub
		String msg = null;
		if(res==0) msg="성공";
		else msg= "실패";
		JOptionPane.showMessageDialog(null, msg);
	}
*/
}
